@extends('default.layouts.adminPublic')
@section('title', '添加会员套餐')
@section('headcss')
    @parent
    <link rel="stylesheet" href="{{asset('/default/css/admin/indexList.css')}}">
    @endsection
    @section('content')
            <!--导航开始-->
    <div class="crumb_warp">
        <i class="fa fa-home"></i> <a href="{{url('admin/vip_package')}}">首页</a> &raquo; 套餐管理
    </div>
    <!--导航结束-->
    <!--结果集标题与导航组件 开始-->
    <div class="con">

        <div class="conMain">
            <div class="result_wrap">
                <div class="search">
                    <span style="margin-right: 20px;"><a href="{{url('admin/vip_package/create')}}"><i class="fa fa-plus"></i>添加会员套餐</a></span>
                    <span ><a href="{{url('admin/vip_package')}}"><i class="fa fa-recycle"></i>会员套餐列表</a></span>
                </div>
                <div class="message"><h2>添加会员套餐</h2></div>
            </div>
            <div class="conInfo">
                <div class="manage" style="padding: 0; margin-bottom: 10px;">
                    @if(count($errors)>0)
                        <div class="mark">
                            @if(is_object($errors))
                                @foreach($errors->all() as $error)
                                    <p>{{$error}}</p>
                                @endforeach
                            @else
                                <p>{{$errors}}</p>
                            @endif
                        </div>
                    @endif
                </div>
                <div class="conAddList">
                    <form action="{{url('admin/vip_package')}}" method="post" name="vipForm" id="vipForm" onsubmit="return checkForm('#vipForm')">
                        {{csrf_field()}}
                        <dl>
                            <dt><i class="require">*</i>套餐名称：</dt>
                            <dd><input type="text" class="inpText" value="{{old('vipname')}}" name="vipname" id="vipname"></dd>
                        </dl>
                        <dl>
                            <dt>套餐天数：</dt>
                            <dd><input type="text" class="inpText" style="width:140px;" value="{{old('vip_days')}}" name="vip_days" id="vip_days"></dd>
                        </dl>
                        <dl>
                            <dt>会员内简历数：</dt>
                            <dd><input type="text" class="inpText" style="width:140px;" value="{{old('vip_resume_number')}}" name="vip_resume_number" id="vip_resume_number"></dd>
                        </dl>

                        <dl>
                            <dt>会员期内积分：</dt>
                            <dd><input type="text" class="inpText"  style="width:140px;" value="{{old('vip_integral')}}" name="vip_integral" id="vip_integral"></dd>
                        </dl>
                        <dl>
                            <dt>会员内职位数：</dt>
                            <dd><input type="text" class="inpText" style="width:140px;" name="vip_post_number" value="{{old('vip_post_number')}}" id="vip_post_number"></dd>
                        </dl>
                        <dl>
                            <dt>非会员简历数：</dt>
                            <dd><input type="text" class="inpText"  style="width:140px;" value="{{old('resume_number')}}" name="resume_number" id="resume_number"></dd>
                        </dl>
                        <dl>
                            <dt>非会员积分：</dt>
                            <dd><input type="text" class="inpText" style="width:140px;"  value="{{old('integral')}}" name="integral" id="integral"></dd>
                        </dl>
                        <dl>
                            <dt>收费金额：</dt>
                            <dd><input type="text" class="inpText" style="width:200px;"  value="{{old('money')}}" name="money" id="money"></dd>
                        </dl>
                        <dl style="height:100px;">
                            <dt style="height:100px;">备注说明：</dt>
                            <dd style="height:100px;"><textarea class="text" name="remark" id="remark">{{old('remark')}}</textarea></dd>
                        </dl>
                        <dl>
                            <dt>是否显示：</dt>
                            <dd>
                                <select name="stats">
                                    <option value="0">前台显示</option>
                                    <option value="1">前台隐藏</option>
                                </select>
                            </dd>
                        </dl>
                        <dl>
                            <dt></dt>
                            <dd>
                                <input type="submit" class="sub" value="添加套餐">
                                <input type="button" class="sub but" onclick="history.go(-1)" value="返回">
                            </dd>
                        </dl>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!--结果集标题与导航组件 结束-->
@endsection


